#-------------------------------------------------
#
# Project created by QtCreator 2022-06-02T13:58:27
#
#-------------------------------------------------

QT       += core gui network

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = gateway_app
TEMPLATE = app
CONFIG += c++11

SOURCES += main.cpp\
        homepage.cpp \
    m0wig.cpp \
    modbuswig.cpp \
    setwig.cpp \
    globalval.cpp \
    mqtthandler.cpp \
    opcv.cpp

HEADERS  += homepage.h \
    m0wig.h \
    modbuswig.h \
    setwig.h \
    globalval.h \
    mqtthandler.h \
    opcv.h

FORMS    += homepage.ui \
    m0wig.ui \
    modbuswig.ui \
    setwig.ui \
    opcv.ui

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/lib/ -lQt5Qmqttd
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/lib/ -lQt5Qmqttd

INCLUDEPATH += $$PWD/.
INCLUDEPATH += $$PWD/mqtt
DEPENDPATH += $$PWD/.

INCLUDEPATH += D:/opencv/opencv3.4-install/install/include
INCLUDEPATH += D:/opencv/opencv3.4-install/install/include/opencv
INCLUDEPATH += D:/opencv/opencv3.4-install/install/include/opencv2
LIBS += D:/opencv/opencv3.4-install/install/x86/mingw/lib/libopencv_*.a

RESOURCES += \
    json.qrc
